ARG REGISTRY_VERSION=latest
FROM registry:${REGISTRY_VERSION}

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories

RUN apk update && apk add --no-cache tzdata bash && \
    echo "Asiz/Shanghai" > /etc/timezone && \
    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    date -R
    
